package com.dx.common.table.ppt;

/**
 * Ret_mtrl_qrsId entity. @author MyEclipse Persistence Tools
 */

public class Ret_mtrl_qrsId implements java.io.Serializable {

	// Fields    

	private String mtrl_unq_id;
	private String qrs_id_fk;

	// Constructors

	/** default constructor */
	public Ret_mtrl_qrsId() {
	}

	/** full constructor */
	public Ret_mtrl_qrsId(String mtrl_unq_id, String qrs_id_fk) {
		this.mtrl_unq_id = mtrl_unq_id;
		this.qrs_id_fk = qrs_id_fk;
	}

	// Property accessors

	public String getMtrl_unq_id() {
		return this.mtrl_unq_id;
	}

	public void setMtrl_unq_id(String mtrl_unq_id) {
		this.mtrl_unq_id = mtrl_unq_id;
	}

	public String getQrs_id_fk() {
		return this.qrs_id_fk;
	}

	public void setQrs_id_fk(String qrs_id_fk) {
		this.qrs_id_fk = qrs_id_fk;
	}

	public boolean equals(Object other) {
		if ((this == other))
			return true;
		if ((other == null))
			return false;
		if (!(other instanceof Ret_mtrl_qrsId))
			return false;
		Ret_mtrl_qrsId castOther = (Ret_mtrl_qrsId) other;

		return ((this.getMtrl_unq_id() == castOther.getMtrl_unq_id()) || (this.getMtrl_unq_id() != null
				&& castOther.getMtrl_unq_id() != null && this.getMtrl_unq_id().equals(castOther.getMtrl_unq_id())))
				&& ((this.getQrs_id_fk() == castOther.getQrs_id_fk()) || (this.getQrs_id_fk() != null
						&& castOther.getQrs_id_fk() != null && this.getQrs_id_fk().equals(castOther.getQrs_id_fk())));
	}

	public int hashCode() {
		int result = 17;

		result = 37 * result + (getMtrl_unq_id() == null ? 0 : this.getMtrl_unq_id().hashCode());
		result = 37 * result + (getQrs_id_fk() == null ? 0 : this.getQrs_id_fk().hashCode());
		return result;
	}

}